package com.wanxi.springboot.team.manage.system.service;

import com.wanxi.springboot.team.manage.system.api.CommonResult;
import com.wanxi.springboot.team.manage.system.model.DailySummary;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 蒋帆
 * @since 2020-12-21
 */
public interface DailySummaryService extends IService<DailySummary> {

    CommonResult addSummary(DailySummary dailySummary);

    CommonResult getDailySummary(Map map);

    CommonResult editSummary(DailySummary dailySummary);

    CommonResult readSummary(Integer id);

    CommonResult getSelfDailySummary(Map map);

    CommonResult exportSummary(Map map, HttpServletResponse response);

    CommonResult batchExportSummary(String list, HttpServletResponse response);
}
